package com.ruoyi.health.report.api;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.health.report.api.factory.RemoteGlossoscopyFallbackFactory;
import com.ruoyi.health.report.domain.GlossoscopyVO;
import feign.Headers;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name="remoteGlossoscopyService",contextId = "remoteGlossoscopyService", url = "${glossoscopy.url}", fallbackFactory = RemoteGlossoscopyFallbackFactory.class)
public interface RemoteGlossoscopyService {

    @PostMapping()
    @Headers("Content-Type: application/json")
    R<GlossoscopyVO> xushiFaceBase64(@RequestBody Map<String,String> map);
}
